Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
IpPool Class Reference

IpPool is the class that manages the IP pool in the Variable Manager for activity files. More...

Inheritance diagram for IpPool:
Pool

Public Member Functions

ip getNetworkIp ()
 Returns the drawn network address. More...
 
ip getMaskIp ()
 Returns the drawn network mask. More...
 
ip getFirstIp ()
 Returns the drawn first IP address. More...
 
ip getLastIp ()
 Returns the drawn last IP address. More...
 
QString getAuthoredNetworkIp ()
 Returns the authored network address. More...
 
QString getAuthoredMaskIp ()
 Returns the authored network address. More...
 
QString getAuthoredFirstIp ()
 Returns the authored first IP address. More...
 
QString getAuthoredLastIp ()
 Returns the authored last IP address. More...
 
- Public Member Functions inherited from Pool
QString name ()
 Returns the name of the pool. More...
 
QString getElementToString (int)
 Returns the element in the pool at the specified index. More...
 
bool isInPool (QString)
 Returns true if the specified value is in the pool, otherwise false. More...
 

Detailed Description

IpPool is the class that manages the IP pool in the Variable Manager for activity files.

Member Function Documentation

◆ getAuthoredFirstIp()

QString IpPool::getAuthoredFirstIp ( )

Returns the authored first IP address.

Returns
QString, the authored first IP address.

◆ getAuthoredLastIp()

QString IpPool::getAuthoredLastIp ( )

Returns the authored last IP address.

Returns
QString, the authored last IP address.

◆ getAuthoredMaskIp()

QString IpPool::getAuthoredMaskIp ( )

Returns the authored network address.

Returns
QString, the authored network address.

◆ getAuthoredNetworkIp()

QString IpPool::getAuthoredNetworkIp ( )

Returns the authored network address.

Returns
QString, the authored network address.

◆ getFirstIp()

ip IpPool::getFirstIp ( )

Returns the drawn first IP address.

Returns
ip, the drawn first IP address.

◆ getLastIp()

ip IpPool::getLastIp ( )

Returns the drawn last IP address.

Returns
ip, the drawn last IP address.

◆ getMaskIp()

ip IpPool::getMaskIp ( )

Returns the drawn network mask.

Returns
ip, the drawn network mask.

◆ getNetworkIp()

ip IpPool::getNetworkIp ( )

Returns the drawn network address.

Returns
ip, the drawn network address.

The documentation for this class was generated from the following file: